BIN=test

CC = g++
FLAGS = -c -std=c++11 -lpthread

SRC = $(shell ls *.cc)

$(BIN):$(SRC)
	$(CC) -o $@ $^

.PHONY:clean
clean:
	rm -f $(BIN) 